package model.command;
import controller.KeyListeners.KeyListenerSet;
import model.playable.RallyPoint;
/**
 *
 * @author joseph
 */
public class BuildMine extends Build{
    public BuildMine(RallyPoint rallyPoint){
        super(rallyPoint);
    }
    @Override
    public BuildMine clone(){ 
        return new BuildMine(getRallyPoint());
    }
    @Override
    public void executeCommand() {
        ((Buildable)getRallyPoint()).buildMine(getNumWorkers());
    }
    @Override
    public String toString(){
        return "Build Mine";
    }
}
